HAL GFXTIM state and error functions migration

This section provides information about the HAL GFXTIM state and error functions migration.

HAL GFXTIM get State

HAL1

HAL2

HAL_GFXTIM_GetState(const GFXTIM_HandleTypeDef *hgfxtim);
HAL_GFXTIM_GetState(const hal_gfxtim_handle_t *hgfxtim);
HAL_GFXTIM_CLKGEN_GetState(const hal_gfxtim_handle_t *hgfxtim);
HAL_GFXTIM_ABSTIM_GetLineState(const hal_gfxtim_handle_t *hgfxtim);
HAL_GFXTIM_ABSTIM_GetFrameState(const hal_gfxtim_handle_t *hgfxtim);
HAL_GFXTIM_RELTIM_GetState(const hal_gfxtim_handle_t *hgfxtim, hal_gfxtim_reltim_counter_t counter);
HAL_GFXTIM_WDG_GetState(const hal_gfxtim_handle_t *hgfxtim);

Related concept: Revised and optimized HAL state machine


HAL GFXTIM get error

HAL1

HAL2

HAL_GFXTIM_GetError(GFXTIM_HandleTypeDef *hgfxtim);
Removed :In HAL2, the GFXTIM has no errors to report.

Related concept: Revised and optimized HAL error management